package com.yunkeji.config.properties;

import com.yunkeji.common.utils.call.TencentRTCUtils;
import lombok.Data;
import lombok.ToString;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 读取项目相关配置
 *
 * @author 老张
 */
@Data
@Component
@ConfigurationProperties(prefix = "rtc")
@ToString
public class RtcProperties {

    // 腾讯云实时语音
    private TencentRTCUtils.Trtc trtc;
    // 录音存储
    private TencentRTCUtils.Cos cos;
    // 鉴黄
    private TencentRTCUtils.SnapCheck snapCheck;
    // 语音实时监测
    private TencentRTCUtils.Yitu Yitu;
}
